

#ifndef VIDEO_CODEC_SAMPLE_PLAYER_NATIVE_H
#define VIDEO_CODEC_SAMPLE_PLAYER_NATIVE_H

#include "Player.h"
#include "common/dfx/log/av_codec_sample_log.h"
#include "common/dfx/error/av_codec_sample_error.h"
#include "napi/native_api.h"
#include "render/include/plugin_manager.h"
#include <js_native_api.h>
#include <js_native_api_types.h>
#include <memory>
#include <uv.h>

class PlayerNative {
public:
    static napi_value Play(napi_env env, napi_callback_info info);
    static napi_value SetPlaybackSpeed(napi_env env, napi_callback_info info);
    static napi_value Pause(napi_env env,napi_callback_info);
    static napi_value Resume(napi_env env,napi_callback_info);
};
#endif // VIDEO_CODEC_SAMPLE_PLAYER_NATIVE_H